/**
 * Created by wujo5 on 1/19/2018.
 */
var mongoose = require('../utils/mongodb.js');


var testcasesSchema = mongoose.Schema({
  testCaseId:String,
  testCaseName:String,
  // bizKey:String,
  bizKey:[{
    bizKeyType:String,
    bizKeyValue:String
  }],
  msgIn:String,
  msgOut:{
    dbVerifier:String,
    mongoDBVerifier:String,
    messageVerifier:String
  },
  inQueue:String,
  outQueue:String,
  verifiers:[],
  urls:[],
  tags:[],
  isReady:{
    type: Boolean,
    default: false
  },
  create_date:String,
  last_update_date:String,
});

exports.testcases = mongoose.model('testcases',testcasesSchema);
